﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;

namespace NF_Base
{
    public class Win32
    {
        private const Int32 AW_HOR_POSITIVE = 0x00000001;
        private const Int32 AW_HOR_NEGATIVE = 0x00000002;
        private const Int32 AW_VER_POSITIVE = 0x00000004;
        private const Int32 AW_VER_NEGATIVE = 0x00000008;
        private const Int32 AW_CENTER = 0x00000010;
        private const Int32 AW_HIDE = 0x00010000;
        private const Int32 AW_ACTIVATE = 0x00020000;
        private const Int32 AW_SLIDE = 0x00040000;
        private const Int32 AW_BLEND = 0x00080000;


        [DllImport("user32.dll", EntryPoint = "AnimateWindow")]
        private static extern bool AnimateWindow(IntPtr handle, int ms, int flags);

    }
}
